/* 
 * File:   FakeStaticModule.h
 * Author: pkv
 *
 * Created on August 9, 2011, 7:57 AM
 * 
 * Contains two simple modules that test static module linking.
 */

#ifndef FAKESTATICMODULE_H
#define	FAKESTATICMODULE_H

#include "core/Module.h"
#include <iostream>

using namespace std;

MODULE(FakeStaticModule1, FakeModuleReg1, FakeModuleUnreg1)

void *FakeModuleReg1(void * param)
{
    cout << "(FakeStaticModule1 registered)...";
    return (void *)3;
}

void *FakeModuleUnreg1(void * param)
{
    cout << "(FakeStaticModule1 unregistered)...";
    return (void *)7;
}


MODULE(FakeStaticModule2, FakeModuleReg2, FakeModuleUnreg2)

void *FakeModuleReg2(void * param)
{
    cout << "(FakeStaticModule2 registered)...";
    return (void *)11;
}

void *FakeModuleUnreg2(void * param)
{
    cout << "(FakeStaticModule2 unregistered)...";
    return (void *)13;
}

#endif	/* FAKESTATICMODULE_H */

